package pojo;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 后台消息表
 * @author 何栋
 */
public class BackMessage {
    /*
     *后台消息id
     */
    private int messageId;
    /*
     *消息内容
     */
    private String message;
    /*
     *会员id
     */
    private int uId;
    /*
     *消息标题
     */
    private String title;
    /*
     *发送时间
     */
    private Timestamp sendTime;
    /*
     *消息状态
     */
    private int state;
    /*
     * 消息类型：0-接收    1-发送
     */
    private int sendReceive;

    public int getSendReceive() {
        return sendReceive;
    }

    public void setSendReceive(int sendReceive) {
        this.sendReceive = sendReceive;
    }
    public void setMessageId(int messageId){
        this.messageId=messageId;
    }

    public int getMessageId(){
        return messageId;
    }
    public void setMessage(String message){
        this.message=message;
    }

    public String getMessage(){
        return message;
    }

    public void setUId(int uId){
        this.uId=uId;
    }

    public int getUId(){
        return uId;
    }
    public void setTitle(String title){
        this.title=title;
    }

    public String getTitle(){
        return title;
    }

    public void setSendTime(Timestamp sendTime){
        this.sendTime=sendTime;
    }

    public Timestamp getSendTime(){
        return sendTime;
    }

    public void setState(int state){
        this.state=state;
    }

    public int getState(){
        return state;
    }
}
